FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
MAINTAINER {{ maintainer }}

{% import "macros.j2" as macros with context %}

{% if install_type == 'binary' %}
    {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

        {% set manila_share_packages = [
            'openstack-manila-share'
        ] %}

{{ macros.install_packages(manila_share_packages | customizable("packages")) }}

    {% endif %}
{% endif %}

{% block manila_share_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}

USER manila
